package com.fortune.vo.channelDiscountMgt;

import java.util.Date;

import io.swagger.annotations.ApiModelProperty;

public class ChannelDiscount {
	@ApiModelProperty(example="商品ID")
	private String mpid;
	@ApiModelProperty(example="优惠政策id")
	private String id;
	@ApiModelProperty(example="优惠政策名称")
	private String name;
	@ApiModelProperty(example="商品名称")
	private String productName;
	@ApiModelProperty(example="商品编号")
	private String producNumber;
	@ApiModelProperty(example="起始日期")
	private Date startTime;
	@ApiModelProperty(example="截止日期")
	private Date endTime;
	@ApiModelProperty(example="满数量")
	private int achieveNum;
	@ApiModelProperty(example="赠数量")
	private int giftNum;

	public String getMpid() {
		return mpid;
	}

	public void setMpid(String mpid) {
		this.mpid = mpid;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getProductName() {
		return productName;
	}

	public void setProductName(String productName) {
		this.productName = productName;
	}

	public String getProducNumber() {
		return producNumber;
	}

	public void setProducNumber(String producNumber) {
		this.producNumber = producNumber;
	}

	public Date getStartTime() {
		return startTime;
	}

	public void setStartTime(Date startTime) {
		this.startTime = startTime;
	}

	public Date getEndTime() {
		return endTime;
	}

	public void setEndTime(Date endTime) {
		this.endTime = endTime;
	}

	public int getAchieveNum() {
		return achieveNum;
	}

	public void setAchieveNum(int achieveNum) {
		this.achieveNum = achieveNum;
	}

	public int getGiftNum() {
		return giftNum;
	}

	public void setGiftNum(int giftNum) {
		this.giftNum = giftNum;
	}

	@Override
	public String toString() {
		return "ChannelDiscount{" +
				"mpid='" + mpid + '\'' +
				", id='" + id + '\'' +
				", name='" + name + '\'' +
				", productName='" + productName + '\'' +
				", producNumber='" + producNumber + '\'' +
				", startTime=" + startTime +
				", endTime=" + endTime +
				", achieveNum=" + achieveNum +
				", giftNum=" + giftNum +
				'}';
	}
}
